<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Services</title>
        <style>
            a {color:#404042;text-decoration:none;}      /* unvisited link */
            a:visited {color:#404042;}  /* visited link */
            a:hover {color:#404042;}  /* mouse over link */
            a:active {color:#404042;}  /* selected link */
        </style>
        <script type="text/javascript" src="js/jquery/jquery-1.8.3.min.js"></script>
        <script type="text/javascript" src="js/token/jquery.tokeninput.js"></script>  
    </head>

    <body style="text-align: center; background-color: #FAFAFA; color: #404042; font-family: Century Gothic, Calibri, Verdana; padding: 0px; margin: 0px;">                

        <div style="margin-top: 0px; background-color: white;">

            <%@include file="header.jsp" %>

            <div style="width: 100%; text-align: center; font-family: Century Gothic, Calibri, Verdana; color: #404042; background-color: white; background: url('${model.props.appPath}/img/content-bg-short.jpg'); background-repeat: repeat-x; display: block; position: relative; top: -2px;">

                <div style="width: 800px; margin: 0 auto; text-align: center; border: 0px solid ">

                    <br>
                    <br>
                    
                        <table cellpadding="5px" cellspacing="5px" style="width:100%" style="font-size: 13px;">
                            <tr>
                                <td>
                                    <div style="background-color: #c4c4c4; padding: 10px;">
                                        <hr>
                                        <h3>Mock DS Backup Services</h3>
                                        <hr>
                                        <br>
                                        <form>
                                        <table style="width:100%; font-size: 13px;" cellpadding="5" cellspacing="5">
                                            <tr>
                                                <td colspan="2">
                                                    [Start MockDS Backup Service] 
                                                    <c:if test="${model.mockDSBackupServiceRunning}">
                                                        Running | ${model.mockDSBackupServiceStartDate} , ${model.mockDSBackupServiceInterval}
                                                    </c:if>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>Start Date:</td>
                                                <td><input type="text" name="startDate" /> -- yyyy/MM/dd HH:mm:ss</td>
                                            </tr>
                                            <tr>
                                                <td>Interval:</td>
                                                <td><input type="text" name="interval" /> -- in milliseconds</td>
                                            </tr>
                                            <tr>
                                                <td colspan="2">     
                                                    <input type="text" name="ref" />
                                                    <input type="submit" value=" Start MockDS Backup Service " />
                                                    <input type="hidden" name="a" value="10" />
                                                </td>
                                            </tr>
                                        </table>
                                        </form>

                                        <br>
                                        <hr>
                                        <br><br>

                                        <form>
                                        <table style="width:100%; font-size: 13px;" cellpadding="5" cellspacing="5">
                                            <tr>
                                                <td>[Stop MockDS Backup Service]</td>
                                                <td></td>
                                            </tr>
                                            <tr>
                                                <td colspan="2">      
                                                    <input type="text" name="ref" />
                                                    <input type="submit" value=" Stop MockDS Backup Service " />
                                                    <input type="hidden" name="a" value="11" />
                                                </td>
                                            </tr>
                                        </table>
                                        </form>                                       
                                    </div>
                                    
                                    
                                    
                                    <div style="background-color: #f1f1f1; padding: 10px;">
                                        <br>
                                        <br>
                                        <hr>
                                        <h3>Email Invite Services</h3>
                                        <hr>
                                        <br>
                                        <br>

                                        <form>
                                            <table style="width:100%; font-size: 13px;" cellpadding="5" cellspacing="5">
                                                <tr>
                                                    <td colspan="2">
                                                        [Start Send Email Invite Service] 
                                                        <c:if test="${model.sendEmailInviteServiceRunning}">
                                                            <br>Running: ${model.sendEmailInviteServiceRunning}<br>Interval: ${model.sendEmailInviteServiceInterval}<br> last run: ${model.sendEmailInviteServiceLastRun}
                                                        </c:if>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>Start Date:</td>
                                                    <td><input type="text" name="startDate" /> -- yyyy/MM/dd HH:mm:ss - default: now</td>
                                                </tr>
                                                <tr>
                                                    <td>Interval:</td>
                                                    <td><input type="text" name="interval" /> -- milliseconds - default: 86400000, 1 day</td>
                                                </tr>
                                                <tr>
                                                    <td colspan="2">     
                                                        <input type="text" name="ref" />
                                                        <input type="submit" value=" Start Send Email Invite Service " />
                                                        <input type="hidden" name="a" value="30" />
                                                    </td>
                                                </tr>
                                            </table>
                                        </form>

                                        <br>
                                        <hr>
                                        <br>

                                        <form>
                                            <table style="width:100%; font-size: 13px;" cellpadding="5" cellspacing="5">
                                                <tr>
                                                    <td>[Stop Send Email Invite Service]</td>
                                                    <td></td>
                                                </tr>
                                                <tr>
                                                    <td colspan="2">      
                                                        <input type="text" name="ref" />
                                                        <input type="submit" value=" Stop Send Email Invite Service " />
                                                        <input type="hidden" name="a" value="31" />
                                                    </td>
                                                </tr>
                                            </table>
                                        </form>
                                    </div>
                                    
                                    
                                    <div style="background-color: #c4c4c4; padding: 10px;">
                                        <br>
                                        <br>
                                        <hr>
                                        <h3>Listing Expiry Services</h3>
                                        <hr>
                                        <br>
                                        <br>

                                        <form>
                                            <table style="width:100%; font-size: 13px;" cellpadding="5" cellspacing="5">
                                                <tr>
                                                    <td colspan="2">
                                                        [Start Listing Expiry Check Service] 
                                                        <c:if test="${model.listingExpiryCheckServiceRunning}">
                                                            <br>Running: ${model.listingExpiryCheckServiceRunning}<br>Interval: ${model.listingExpiryCheckServiceInterval}<br> last run: ${model.listingExpiryCheckServiceLastRun}
                                                        </c:if>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>Start Date:</td>
                                                    <td><input type="text" name="startDate" /> // yyyy/MM/dd HH:mm:ss - default: now</td>
                                                </tr>
                                                <tr>
                                                    <td>Interval:</td>
                                                    <td><input type="text" name="interval" /> // milliseconds - default: 172800000, 2days</td>
                                                </tr>
                                                <tr>
                                                    <td colspan="2">     
                                                        <input type="text" name="ref" />
                                                        <input type="submit" value=" Start Listing Expiry Check Service " />
                                                        <input type="hidden" name="a" value="20" />
                                                    </td>
                                                </tr>
                                            </table>
                                        </form>

                                        <br>
                                        <hr>
                                        <br>

                                        <form>
                                            <table style="width:100%; font-size: 13px;" cellpadding="5" cellspacing="5">
                                                <tr>
                                                    <td>[Stop Listing Expiry Check Service]</td>
                                                    <td></td>
                                                </tr>
                                                <tr>
                                                    <td colspan="2">      
                                                        <input type="text" name="ref" />
                                                        <input type="submit" value=" Stop Listing Expiry Check Service " />
                                                        <input type="hidden" name="a" value="21" />
                                                    </td>
                                                </tr>
                                            </table>
                                        </form>   
                                    </div>
                                    
                                    <div style="background-color: #f7f7f7; padding: 10px;">
                                        <br>
                                        <br>
                                        <hr>
                                        <h3>Listing Stats Services</h3>
                                        <hr>
                                        <br>
                                        <br>


                                        <form>
                                            <table style="width:100%; font-size: 13px;" cellpadding="5" cellspacing="5">
                                                <tr>
                                                    <td colspan="2">
                                                        [Start Listing Stats Service] 
                                                        <c:if test="${model.listingStatsServiceRunning}">
                                                            <br>Running: ${model.listingStatsServiceRunning}<br>Interval: ${model.listingStatsServiceInterval}<br> last run: ${model.listingStatsServiceLastRun}
                                                        </c:if>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>Start Date:</td>
                                                    <td><input type="text" name="startDate" /> // yyyy/MM/dd HH:mm:ss - default: now</td>
                                                </tr>
                                                <tr>
                                                    <td>Interval:</td>
                                                    <td><input type="text" name="interval" /> // milliseconds - default: 172800000, 2days</td>
                                                </tr>
                                                <tr>
                                                    <td colspan="2">     
                                                        <input type="text" name="ref" />
                                                        <input type="submit" value=" Start Listing Stats Service " />
                                                        <input type="hidden" name="a" value="22" />
                                                    </td>
                                                </tr>
                                            </table>
                                        </form>

                                        <br>
                                        <hr>
                                        <br>

                                        <form>
                                            <table style="width:100%; font-size: 13px;" cellpadding="5" cellspacing="5">
                                                <tr>
                                                    <td>[Stop Listing Stats Service]</td>
                                                    <td></td>
                                                </tr>
                                                <tr>
                                                    <td colspan="2">      
                                                        <input type="text" name="ref" />
                                                        <input type="submit" value=" Stop Listing Stats Service " />
                                                        <input type="hidden" name="a" value="23" />
                                                    </td>
                                                </tr>
                                            </table>
                                        </form>
                                    </div>
                                    
                                    
                                    
                                    
                                    
                                    <div style="background-color: #c4c4c4; padding: 10px;">
                                        <br>
                                        <br>
                                        <hr>
                                        <h3>Listing Boost Services</h3>
                                        <hr>
                                        <br>
                                        <br>


                                        <form>
                                            <table style="width:100%; font-size: 13px;" cellpadding="5" cellspacing="5">
                                                <tr>
                                                    <td colspan="2">
                                                        [Start Listing Boost Service] 
                                                        <c:if test="${model.listingBoostServiceRunning}">
                                                            <br>Running: ${model.listingBoostServiceRunning}<br>Interval: ${model.listingBoostServiceInterval}<br> last run: ${model.listingBoostServiceLastRun}
                                                        </c:if>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>Start Date:</td>
                                                    <td><input type="text" name="startDate" /> // yyyy/MM/dd HH:mm:ss - default: now</td>
                                                </tr>
                                                <tr>
                                                    <td>Interval:</td>
                                                    <td><input type="text" name="interval" /> // milliseconds - default: 172800000, 2days</td>
                                                </tr>
                                                <tr>
                                                    <td colspan="2">     
                                                        <input type="text" name="ref" />
                                                        <input type="submit" value=" Start Listing Boost Service " />
                                                        <input type="hidden" name="a" value="24" />
                                                    </td>
                                                </tr>
                                            </table>
                                        </form>

                                        <br>
                                        <hr>
                                        <br>

                                        <form>
                                            <table style="width:100%; font-size: 13px;" cellpadding="5" cellspacing="5">
                                                <tr>
                                                    <td>[Stop Listing Boost Service]</td>
                                                    <td></td>
                                                </tr>
                                                <tr>
                                                    <td colspan="2">      
                                                        <input type="text" name="ref" />
                                                        <input type="submit" value=" Stop Listing Boost Service " />
                                                        <input type="hidden" name="a" value="25" />
                                                    </td>
                                                </tr>
                                            </table>
                                        </form>
                                    </div>
                                    
                                    
                                </td>
                            </tr>
                            <tr>
                                <td align="right"><a href="http://rentpad.com.ph" style="color: #369"><u>Back to Home</u></a></td>
                            </tr>
                        </table>
                    </form>
                </div>

                <br><br>                

            </div>

            <div>
                <img src="${model.props.appPath}/img/footer-foot.jpg" style="border: 0px solid black; display: block; width: 100%;" />
            </div>

        </div>

    </body>

</html>
